<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://matrixcsm.zkingsoft.com" prefix="cms"%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<cms:nav var="navs" type="PC"></cms:nav>
<script type="text/javascript" src="${path }/resource/js/plugin/jquery-2.1.4.min.js"></script>

<div class="navbar navbar-default navbar-top">
      <div class="container">
          <div class="navbar-header">
              <img src="${path }/resource/images/logo.png" alt="">
              <button type="button" class="navbar-toggle collapsed btn-collapse" data-toggle="collapse" data-target="#navbar-top" aria-expanded="false">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
          </div>
          <div class="collapse navbar-collapse" id="navbar-top">
            <ul class="nav-item" id="nav">
            <c:forEach var="item" items="${navs}">
              <li><a href="${path}/${item.navUrl}">${item.navName}</a></li>
              </c:forEach>
            </ul>
            <div class="nav navbar navbar-right nav-btns">
          <!--     <a type="button"  class="btn btns btns1">注册</a>
              <a type="button"  class="btn btns btns2">登录</a> -->
            </div>
          </div>
      </div>
  </div>
